package com.yikes.knife4j.controller;

import com.yikes.knife4j.common.result.Result;
import com.yikes.knife4j.service.BorrowInfoService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * <p>
 * 借款信息表 前端控制器
 * </p>
 *
 * @author guanrong.yin
 * @since 2023-08-03
 */
@Api(tags = "借款信息表")
@RestController
@RequestMapping("/borrow_info")
public class BorrowInfoController {

    @Resource
    private BorrowInfoService service;

    @ApiOperation("列表")
    @GetMapping("/listInfo")
    public Result<?> listInfo() {

        return Result.success();
    }

    @ApiOperation("新增")
    @PostMapping("/add")
    public Result<?> add() {

        return Result.success();
    }

    @ApiOperation("编辑")
    @PutMapping("/edit")
    public Result<?> edit() {

        return Result.success();
    }

    @ApiOperation("删除")
    @DeleteMapping("/del")
    protected Result<?> del() {

        return Result.success();
    }

}
